package org.wzl.todolisthelper.service;

import org.wzl.todolisthelper.domain.NormalTask;
import com.baomidou.mybatisplus.extension.service.IService;
import org.wzl.todolisthelper.dto.AddNormalTaskDTO;
import org.wzl.todolisthelper.vo.IndexTaskCardVO;
import org.wzl.todolisthelper.vo.NormalTaskDetailVO;

import java.util.List;

/**
* @author weizhilong
* @description 针对表【t_normal_task】的数据库操作Service
* @createDate 2025-01-31 23:52:59
*/
public interface NormalTaskService extends IService<NormalTask> {

    void addTask(AddNormalTaskDTO addNormalTaskDTO);

    List<IndexTaskCardVO> getAllCard();

    NormalTaskDetailVO getDetailById(String id);

    void completeTask(String taskId);

    void deleteTask(String taskId);
}
